package com.example.dsplatform.pojo.Entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString

@TableName("College")
public class College {
    //学院ID
    @TableId(value = "COLLEGE_ID", type = IdType.AUTO)
    private Integer college_id;
    //学院名称
    @TableField(value = "COLLEGE_NAME")
    private String college_name;
    //学院简称
    @TableField(value = "SHORT_NAME")
    private String short_name;
    //学院介绍
    @TableField(value = "INTRO")
    private String intro;
    //专业个数
    @TableField(value = "PROFESSION_NUMBER")
    private Integer profession_number;
    //学生人数
    @TableField(value = "STUDENT_NUMBER")
    private Integer student_number;
    //院长
    @TableField(value = "PRESIDENT")
    private String president;
    //租户号
    @TableField(value = "TENANT_ID")
    private String tenant_id;
    //乐观锁
    @TableField(value = "REVISION")
    private Integer revision;
    //创建人
    @TableField(value = "CREATED_BY")
    private String created_by;
    //创建时间
    @TableField(value = "CREATED_TIME")
    private Date created_time;
    //更新人
    @TableField(value = "UPDATE_BY")
    private String update_by;
    //更新时间
    @TableField(value = "UPDATE_TIME")
    private Date update_time;
}
